package com.bwda.dsrs.filecenter.domain.vo.fileapply;

import com.bwda.dsrs.filecenter.domain.vo.fileapplyflow.FileApplyFlowVo;
import com.bwda.dsrs.filecenter.domain.vo.fileapplyout.FileApplyOutVo;
import com.bwda.dsrs.filecenter.domain.vo.fileinfo.FileInfoVo;
import com.bwda.dsrs.filecenter.domain.vo.fileapplyflow.FileApplyFlowVo;
import com.bwda.dsrs.filecenter.domain.vo.fileinfo.FileInfoVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @description: 文件申请
 * @author: yangjun
 * @create: 2019-04-28 11:15
 */
@Data
@ApiModel(description = "文件申请,共享，流转，外发")
public class FileApplyVo {

    @ApiModelProperty(value = "申请ID", required = true)
    private Integer id;

    @ApiModelProperty(value = "文件ID,逗号隔开")
    private String fileIds;

    @ApiModelProperty(value = "文件名称，全称aa.doc，逗号隔开")
    private String fileNames;

    @ApiModelProperty(value = "0共享1流转2外发")
    private Integer applyType;

    @ApiModelProperty(value = "申请人编号")
    private String applyUserCode;
    @ApiModelProperty(value = "申请人姓名")
    private String applyUserName;

    @ApiModelProperty(value = "审核人编号")
    private String auditUserCode;

    @ApiModelProperty(value = "审核人姓名")
    private String auditUserName;

    @ApiModelProperty(value = "0内部审核1外部审核")
    private Integer auditType;

    @ApiModelProperty(value = "申请标题")
    private String applyTitle;

    @ApiModelProperty(value = "申请理由")
    private String applyReason;

    @ApiModelProperty(value = "0申请中1通过2拒绝")
    private Integer applyState;

    @ApiModelProperty(value = "审核备注")
    private String auditRemark;

    @ApiModelProperty(value = "创建人")
    private String createUserCode;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateUserCode;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "流转的详情")
    private List<FileApplyFlowVo> flowVo;

    @ApiModelProperty(value = "外发的详情")
    private FileApplyOutVo outVo;

    @ApiModelProperty(value = "外发的文件列表")
    private List<FileInfoVo> outFiles;

//    /**
//     * 以下为详情展示
//     */
//    @ApiModelProperty(value = "开始时间")
//    private Date startTime;
//
//    @ApiModelProperty(value = "结束时间")
//    private Date endTime;
//
//    @ApiModelProperty(value = "阅读次数")
//    private Integer readTimes;
//
//    @ApiModelProperty(value = "允许使用MAC，为空则不限制")
//    private String allowMac;
//
//    @ApiModelProperty(value = "允许使用IP，为空则不限制")
//    private String allowIp;
//
//    /**
//     *
//     */
//    @ApiModelProperty(value = "只读")
//    private String read;
//
//    @ApiModelProperty(value = "复制")
//    private String copy;
//
//    @ApiModelProperty(value = "编辑")
//    private String editor;
//
//    @ApiModelProperty(value = "另存")
//    private String save;
//
//    @ApiModelProperty(value = "截屏")
//    private String screen;
//
//    @ApiModelProperty(value = "水印")
//    private Integer printWatermark;

}